import Vue from 'vue';
import App from './App.vue';

Vue.config.productionTip = false;

// 引入element ui框架
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
Vue.use(ElementUI);

// 引入iview ui框架
import ViewUI from "view-design";
import "view-design/dist/styles/iview.css";
Vue.use(ViewUI);

// 引入EDGQiLin 全局组件和方法
import Qilin from "./global/index.js";
Vue.use(Qilin);

// 引入iconfont图标库
import {
	IconfontUrlCss,
	IconfontVersion,
	loadStyle
} from '@/assets/fonts/config.js';
IconfontVersion.forEach((item)=>{
    loadStyle(IconfontUrlCss.replace("$key",item));
});

// 引入全局公用样式
import "./assets/scss/common.scss";

import router from './router'

new Vue({
	render: h => h(App),
	router
}).$mount('#app')
